//
//  WebAuthorizeViewController.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-5-31.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol WebAuthorizeViewControllerDelegate;

@interface WebAuthorizeViewController : UIViewController<UIWebViewDelegate> {
	NSURL *url;
	
	IBOutlet UIWebView *web;
	IBOutlet UIActivityIndicatorView *active;
	IBOutlet UIBarButtonItem *bFinish;
	
	BOOL bAuthOK;
	
	id<WebAuthorizeViewControllerDelegate> _delegate;
}

@property(nonatomic, retain) id<WebAuthorizeViewControllerDelegate> delegate;

@property(nonatomic, retain) NSURL *url;

#pragma mark button_done_auth_finish
-(IBAction)continueGetToken:(id)sender;

///**
// * 设置标题
// */
//- (void)setTitle:(NSString *)title;

@end

@protocol WebAuthorizeViewControllerDelegate

- (void)continueWork:(id)sender;

@end;

